define(function  (require, exports, module) {
    require("../../../../database/registerData");
    function account() {
        var accountInfo = "";
        var information = Message.content;
        for(var i=0;i<information.length;i++){
            var message = information[i].message;
            var infoClass = JSON.stringify(information[i].class);
            var infoId = JSON.stringify(information[i].id);
            var rightId = JSON.stringify(information[i].rightId);
            var errorId = JSON.stringify(information[i].errorId);

            accountInfo += "<div class='input-cont'>" +
                "<p class="+infoClass+"><a class='start'>＊</a>" +message+ "</p>" +
                "<input class='entry-info' type='text' id="+infoId+"value=''>" +
                "<div id="+rightId+"class='warn-info hide'><p>"+information[i].rightInfo+"</p></div>" +
                "<div id="+errorId+"class='warn-info hide'><p>"+information[i].errorInfo+"</p></div>" +
                // "<span class='hide'>"+information[i].check+"</span>" +
                "</div>"
        }
        $.template( "accountTemplate", accountInfo );
        $.tmpl("accountTemplate", accountInfo).appendTo("#accountInfoId");
        require("../control/judgefocus"); //判断
        // var accountCompanyInfo = "<div class='input-cont'>" +
        //     "<p class='left-back'></p>" +
        //     "<div class='judge-box'>" +
        //     "<span>是否为物业学校 ：</span><label>是</label>" +
        //     "<input id='check-area1' type='checkbox' name='checkBox' value='是'>" +
        //     "<label class='judge-box-no'>否</label>" +
        //     "<input id='check-area2' type='checkbox' name='checkBox' value='否'>" +
        //     "</div>" +
        //     "</div>";
        // $.template( "companyTypeTemplate", accountCompanyInfo );
        // $.tmpl("companyTypeTemplate", accountCompanyInfo).appendTo("#judgeCompanyTypeId");

    }
    module.exports = account();
})